import React from 'react';
import './index.less';

export default () => {
  function B() {}
  const b = new B();

  function Instanceof(left, right) {
    let proto = left.__proto__;
    while (proto) {
      if (proto === right.prototype) {
        return true;
      }
      proto = proto.__proto__;
    }
    return false;
  }

  console.log('Instanceof', b);

  console.log(Instanceof(b, B));

  return (
    <div className="gok_ft">
        <div className="left">left</div>
      
      123123
      
      <div className="right">right</div>
                        this is test
    </div>
  );
};
